import fetch from '../../../utils/fetch'

export function page (query) {
  return fetch({
    url: '/api/yun-activiti/deployment/page',
    method: 'get',
    params: query
  })
}
export function delObj (id) {
  return fetch({
    url: '/api/yun-activiti/deployment/delete/' + id,
    method: 'delete'
  })
}
export function upload (query) {
  return fetch({
    url: '/zuul/api/yun-activiti/deployment/add',
    method: 'post',
    params: query
  })
}
